<script setup lang="ts">

import GlobalHeader from "@/components/GlobalHeader.vue";
</script>

<template>
  <div id="BasicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header-bar">
        <GlobalHeader/>
      </a-layout-header>
      <a-layout-content class="content-bar">
        <router-view/>
      </a-layout-content>
      <a-layout-footer class="footer-bar">
        <a href="">by codebo（你博）</a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#BasicLayout {
  .header-bar{
    background-color: #fff;
  }
  .content-bar {
    margin-top: 15px;
    margin-left: 15px;
  }
  .footer-bar {
    margin-top: 36px;
    background-color: #efefef;
    text-align: center;
  }
}
</style>
